package cn.raven.user.mapper;

import cn.raven.basic.mapper.BaseMapper;
import cn.raven.user.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Raven
 * @since 2022-07-06
 */
public interface UserMapper extends BaseMapper<User> {

    User findByPhone(String phone);

    User findByEmail(String email);
    //根据logininfoid查询user
    User findByLogininfoId(Long id);
}
